package com.itheima.askme.service;

import com.itheima.askme.entity.User;
import com.baomidou.mybatisplus.extension.service.IService;

import java.util.List;

/**
 * <p>
 *  服务类
 * </p>
 *
 * @author dafei
 * @since 2022-06-14
 */
public interface IUserService extends IService<User> {

    void  regist(String username,String password);

    User login(String username, String password);

    List<User> rank();
}
